<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Y.Lang tests</title>
</head>
<body class="yui3-skin-sam">

<div id="log"></div>

<script src="../../../../build/yui/yui.js"></script>
<script>
var Y = YUI({
    allowRollup: false,
    filter: (window.location.search.match(/[?&]filter=([^&]+)/) || [])[1] || 'raw',
    modules: {
        'lang-test': {
            fullpath: './assets/lang-test.js',
            requires: ['test']
        },
        'lang-xframe-test' : {
            fullpath: './assets/lang-xframe-test.js',
            condition: {
                name : 'lang-xframe-test',
                trigger : 'lang-test',
                test : function(Y) {
                    return !(Y.UA.nodejs);
                }
            },
            requires: ['test']
        }
    }
}).use('lang-test', 'test-console', function (Y) {

    new Y.Test.Console().render('#log');
    Y.Test.Runner.run();
});
</script>
</body>
</html>
